dickie:
If you don't mind having a single-shot, simply buy a .17 Green Mountain barrel or Ruger barrel and install it. I have one and it is the most accurate .17 I own. The only thing you have to concern yourself with is that it won't eject an UNFIRED round unless you take out the magazine, open the bolt as far as possible, and pop the round out with your fingers from underneath.
If you want to keep it as a repeater, there is a bit more to it. There is a thread on it here on RFC if you'll do a search.