Analytical soliton-like solutions of the electromagnetic and scalar fields equation in minimal coupling