The bolt should be designed to allow it to be tightened down tight, and have the jockey wheel still spin.
Assuming a bushing type wheel, the inner bushing should be slightly longer than the outer bushing, so when you tighten the bolt down, the inner bushing stays fixed while the outer one spins.
Is it possible you have mismatched parts?