On the construction of quintessential inflation models