All fines imposed by this chapter and chapter 1, subchapter VI; Title 14, section 555; and Title 14, chapter 203, subchapter IV, not otherwise appropriated, shall be applied to building and repairing the jails in the county where the offense is committed.