i think the prob is with the connector where the charger is connected. Try cleaning it with vaccum cleaner (the phone end and the charger end both), also u can try cleaning it with petrol..
most probably it is due to dust.. the charger pins are not able to make contact with the pins in the mobile..
still if it doesnt work.. u need to take it to LG service centre..
cheers..