Gradual approach to coalescence for compact stars orbiting massive black holes