Joint minimal rotation