To fix or put together using non-standard or improvised materials. A derivation of jury-rig, from the nautical term jury mast. This term refers to a temporary mast raised when the normal mast has been lost due to storm or battle. This is probably a short form of injury mast.
Not to be confused with Jerry-built, which refers to an original construction of poor quality.
"Jim jerry-rigged his carburetor open with a paper clip and some aluminum foil"