i have this problem on my gen 1 nano, try and get a replacement jack, i did read that the part is mechanical so you could try cleaning it with a cotton wool bud and see if that helps, hope this works
just getting into ipod repair, so any tips are helpfull, my first repair was a nano 1 clickwheel swap from white to black, next will be the headphone jack