A jury tax of three dollars is imposed on each original suit in the circuit court in which a plea is filed, and on every issue therein tried separately by a jury, and a tax of two dollars on each case transferred or appealed thereto, to constitute a fund for the payment of jurors, and to be collected by the clerk or sheriff as costs. The clerk shall be liable on his official bond for any failure to charge, receive, or issue execution for the jury tax; and the sheriff shall likewise be liable for a failure to collect or to pay the same to the county treasurer; and they may be fined as for a contempt therefor not more than one hundred dollars.