From this test.
B is the only right answer. Something that's "jerry-built" is inexpertly thrown together and it's always an insulting term. "Jury-rigged" just means that you rather ingeniously thought of a temporary solution. "Jerry-rigged" and "jury-built" are just bastardizations involving people mixing up the terms.