Maximum principle for vector valued minimizers