The interest on all loans made to individuals under an order of court shall become due and payable on January 1, in each year, until the principal is paid; and unless the interest be paid at the time it becomes due and payable compound interest shall be charged thereon to the borrower from such time until payment thereof is made.