The agriculture minister issued the stark warning after Scotland was devastated by wildfires in recent months.