An analytical model of the Jovian magnetosphere