kluge

noun

Something that should not work, but does.

A device assembled from components intended for disparate purposes.