The good news is twofold:
1. It's seems not to be as difficult to fool a polygraph as it is to get code to compile.
2. You can measure some of the factors they look at. A heart rate monitor, for example, can aid in practicing raising your pulse.
First, you need someone capable of imitating a trained polygrapher. The simplest option is to hire one, but from what I know of polygraphy I'm pretty sure that a magician could do the job with a few hours study.
Second, you need an accurate simulation of real polygraphy equipment. Again, you can just pay for a test, or you can rig something up with a galvanometer, heart rate monitor, and spirometer.
Thirdly, as you said, you see to have "something riding on it." Hand a trusted confidant a quarter of your monthly income and tell them to give it to a charity antithetical to your beliefs if you fail the test.
Amazon carries a $100 USB polygraph machine, but most of the reviews say it gives the same readings regardless of whether you attach it to a person. Assembling your own stuff might make more sense.