Dynamics of magnetic flux concentrations - The second-order thin flux tube approximation